<template>
  <view class="container">
    <view style="font-size: 34rpx; font-weight: 600; margin-bottom: 24rpx;">发布</view>
    <view style="color: #666;">简单的发布占位页，后续可接入表单与上传。</view>
    <button type="primary" @click="chooseImage" style="margin-top: 24rpx;">选择图片</button>
  </view>
</template>

<script setup>
const chooseImage = () => {
  uni.chooseImage({
    count: 9,
    success: (res) => {
      console.log('选择的图片：', res.tempFilePaths)
    }
  })
}
</script>

<style scoped>
.container {
  padding: 24rpx;
}
</style>